<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri='http://java.sun.com/portlet' prefix='portlet'%>
<%@ page import="javax.portlet.*"%>
<%@ page import="com.x4ee.soa.portal.framework.tools.ConfigUtils"%>

<%String contextPath = request.getContextPath();%>

<portlet:defineObjects />

<form method='post' enctype="multipart/form-data" 
	action='<portlet:actionURL><portlet:param name="frameworkUri" value="uploadAction"/></portlet:actionURL>'>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr class="tr-light">
	    <td width="60" align="right">标题：</td>
	    <td><input name="archiveTitle" type="text" size="30" class="textfield"/></td>
	  </tr>
	  <tr class="tr-light">
	    <td align="right">文件：</td>
	    <td>
	    	<input type="file" name="archiveFile"/>
		</td>
	  </tr>
	  <tr>
	    <td height="50" colspan="2">
	    	<input name="submit" type="submit" value="上传" src="<%=contextPath%><%=ConfigUtils.getResourceBasePath(renderRequest)%>/image/upload.jpg" align="top" />
	    </td>
	  </tr>
    <tr>
	  <td><a href="<portlet:renderURL portletMode="VIEW"><portlet:param name="frameworkUri" value="ViewIndex"/></portlet:renderURL>">返回</a></td>
	</tr> 	  
	</table>
</form>